<?php /* Smarty version 2.6.22, created on 2011-11-10 05:16:41
         compiled from model/list_model.html */ ?>
<div id="man_zone">
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <th width="6%" >ID</th>
      <th width="10%">模型名称</th>
      <th width="10%">数据表</th>
      <th width="10%">描述</th>
      <th width="10%">栏目首页模板</th>
      <th width="10%">列表页模板</th>
      <th width="10%">内容页模板</th>
      <th width="34%">管理操作</th>
    </tr>
<?php $_from = $this->_tpl_vars['ret']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
    <tr>
      <td><?php echo $this->_tpl_vars['item']['id']; ?>
</td>
      <td><?php echo $this->_tpl_vars['item']['name']; ?>
</td>
      <td><?php echo $this->_tpl_vars['item']['tablename']; ?>
</td>
      <td><?php echo $this->_tpl_vars['item']['description']; ?>
</td>
      <td><?php echo $this->_tpl_vars['item']['category_template']; ?>
</td>
      <td><?php echo $this->_tpl_vars['item']['list_template']; ?>
</td>
      <td><?php echo $this->_tpl_vars['item']['show_template']; ?>
</td>
      <td><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/fieldManage/<?php echo $this->_tpl_vars['item']['id']; ?>
">字段管理</a> | <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/editModel/<?php echo $this->_tpl_vars['item']['id']; ?>
">修改</a> | <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/delModel/<?php echo $this->_tpl_vars['item']['id']; ?>
">删除</a></td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>
  </table>
</div>